import time
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('http://192.168.199.128:8080/cms')
driver.maximize_window()
driver.find_element_by_name('userAccount').send_keys('admin1')
driver.find_element_by_name('loginPwd').send_keys('123456')
driver.find_element_by_id('loginBtn').click()
time.sleep(1)

suc=driver.current_url
assert 'http://192.168.199.128:8080/cms/manage/login.do' == suc
driver.quit()
